package com.metaapp.demo.net

import com.metaapp.demo.bean.BaseBean
import com.metaapp.demo.bean.SearchDataBean
import io.reactivex.Observable
import retrofit2.http.*

/**
 * Created by chenlei on 2020/11/11.
 * Description :
 */
interface ApiService {

    /**
     * @param q 搜索关键词
     * @param sn 页码
     * @param pn 个数
     */
    @POST("/j")
    fun getSearchPic(@QueryMap maps: MutableMap<String, Any>): Observable<SearchDataBean>

}